home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Language/OS - Multiplatform Resource Library
/
LANGUAGE OS.iso
/
cpp_libs
/
answrbok
/
8_6.lha
/
8_6
/
8_6_sputc.c
< prev
next >
Wrap
Text File
|
1993-08-08
|
320b
|
14 lines
* Copyright (c) 1990 by AT&T Bell Telephone Laboratories, Incorporated. */
* The C++ Answer Book */
* Tony Hansen */
* All rights reserved. */
/ put a character into the buffer
include <limits.h>
/ inline
nt streambuf::sputc(int c)
return (eptr <= pptr) ?
overflow(c & UCHAR_MAX) :
(*pptr++ = c & UCHAR_MAX);